

import java.util.List;

/**
 * Thread for computing the error values of a given list of nodes
 *
 */
public class ComputeErrorThread extends Thread {
	
	private List<AbstractNeuron> neuronList;
	
	public ComputeErrorThread(List<AbstractNeuron> list) {
		neuronList = list;
	}

	@Override
	public void run() {
		for (AbstractNeuron neuron : neuronList) {
			neuron.computeError();
		}
	}
	
	
}
